<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<title></title>
</head>
<body>
<script type="text/javascript">
    var salary = 6500;
    var insurance = 500;
    var threshold = 5000;
    var tax = 0.03;
    salary-=insurance;
    var salary1=salary;
    salary1-=threshold;
    salary1*=tax;
    salary-=salary1;
    document.write("该员工的实际收入为"+salary+"元");
</script>
</body>
</html>
